package com.lone.design.pattern.creational.simplefactory;

/**
 * @author Lone
 * @date 2021/9/24 11:06 周五
 */
public class Test {
    public static void main(String[] args) {
        CoffeeStore coffeeStore = new CoffeeStore();
        Coffee coffee = coffeeStore.orderCoffee("latte");
        System.out.println(coffee.getName());
    }
}
